from flask_sqlalchemy import SQLAlchemy
import pymysql

# 创建flask-sqlalchemy的实例对象
db = SQLAlchemy()

pymysql.install_as_MySQLdb()

class Config:
    SECRET_KEY = 'your-secret-key'
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:jisuanji2022@121.196.166.117/house'
    SQLALCHEMY_TRACK_MODIFICATIONS = False

